﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace ztn_iot_sdk_cSharp.bean
{
    [DataContract]
    class DeviceSendRes
    {
        [DataMember]
        public string deviceCore { set; get; }

        [DataMember]
        public int timestamp { set; get; }

        [DataMember]
        public string msgId { set; get; }
   

        [DataMember]
        public string error { set; get; }

        [DataMember]
        public string msg { set; get; }

        [DataMember]
        public DeviceSetting setting { set; get; }

        [DataContract]
        public class DeviceSetting
        {

            [DataMember]
            public string keyName { set; get; }

            [DataMember]
            public string port { set; get; }

            [DataMember]
            public string value { set; get; }

        }
    }
}
